//
//  HotNewsVO.m
//  ZhihunewPaper
//
//  Created by 梅杰 on 16/7/16.
//  Copyright © 2016年 梅杰. All rights reserved.
//

#import "HotNewsVO.h"
#import "hotNews.h"
#import "AFNetworking.h"
#import "AppDelegate.h"
@implementation HotNewsVO

+ (NSArray *)hotNewsArray:(NSDictionary *)newsDict{

    
    NSMutableArray *newsArray = [NSMutableArray arrayWithCapacity:0];
    
    static NSString *recent = @"recent";
    NSArray *newsModelArray = [newsDict objectForKey:recent];
        
    for (NSDictionary *aNewDict in newsModelArray) {
            hotNews *aNew = [hotNews allocWithDict:aNewDict];
            [newsArray addObject:aNew];
    }
    return newsArray;
};
@end

